package dao;

import entity.Like;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LikeMapper {
    List<Like> getLikeuser(@Param("uid")Integer uid);//查询id
    int addLike(@Param("userid") Integer userid,@Param("blogid") Integer blogid);//添加喜欢列表
    int delLike(@Param("userid") Integer userid,@Param("blogid") Integer blogid);//取消喜欢列表
}
